package com.yc.yyds.dao;

import com.yc.yyds.util.DBHelper;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class UserQueryLinksDao {

    //组合条件查询链接
    public List<Map<String, Object>> queryLinks(){

        String sql = " select * from links where linkstatus=1";
        return DBHelper.selectListMap(sql);

        //return map;
    }
}
